import api from './api'

class OrderStateLogApi extends api {
  getAllByOrderId (orderId) {
    return this.request({
      url: `${this.servicePath}/${this.modulePath}/allByOrderId/${orderId}`,
      method: 'get'
    })
  }
}

export default new OrderStateLogApi('photoStudio/orderStateLog')
